package com.api.shopapi.service;

import com.api.shopapi.entity.CashierCartGoods;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CashierCartGoodsService {

    int insert(CashierCartGoods cashierCartGoods);

    int update(CashierCartGoods cashierCartGoods);

    int delete(String cashierCartGoodsCode);

    List<CashierCartGoods> getList();

    CashierCartGoods getByCashierCartGoodsCode(String cashierCartGoodsCode);

    List<CashierCartGoods> getListByCashierCartBusinessCode(String cashierCartBusinessCode);

    List<CashierCartGoods> getListByGoodsCode(String goodsCode);
}
